
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_OperationAndWork))]
    public class YH_OperationAndWorkDto : Dto
    {
        /// <summary>
        /// 区域ID
        /// </summary>
        public Guid? AreaID { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        [ConcurrentKeyToValueAttribute("97", "AreaID")]
        public String AreaName { get; set; }
        public String SearchMajorCode { get { return "YH_OperationAndWork"; } }
        public String SearchMajorCodeName { get { return "操作与相关作业活动"; } }
        /// <summary>
        /// 作业步骤
        /// </summary>
        public String JobSteps { get; set; }
        /// <summary>
        /// 作业任务
        /// </summary>
        public String Task { get; set; }
        /// <summary>
        /// 隐患等级ID
        /// </summary>
        public Guid? RiskLevel { get; set; }
        [ConcurrentKeyToValue("03", "RiskLevel")]
        public string RiskLevelText { get; set; }
        /// <summary>
        /// 检查标准
        /// </summary>
        public String CheckStandard { get; set; }
        /// <summary>
        /// 违反标准的风险
        /// </summary>
        public String RiskOfViolation { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        public List<Guid> AreaIds { get; set; }
    }
}
